package org.exez.modules.quartz.job;

import lombok.extern.slf4j.Slf4j;
import org.exez.modules.visitor.service.PoliceService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 重点人员同步开始
 *
 * @Author Scott
 */
@Slf4j
public class KeyPersonnelDataDistributionJob implements Job {

	@Autowired
	private PoliceService policeService;

	@Override
	public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {

		log.info("=============重点人员同步开始======================");

		Boolean aBoolean1 = policeService.saveKeyPersonnel();

		log.info("=============重点人员同步结束======================");
	}
}
